package com.youlu.campus.base.integral;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.mongodb.core.index.Indexed;

/**
 * Created by zgz on 2020/11/27.
 * 积分明细
 */
@Data
public class UserIntegralLogBase extends EntityBase {

    /**
     * 用户ID
     */
    @Indexed
    private String userId;

    /**
     * 积分数值
     */
    private Integer integral;

    /**
     * 积分业务类型,0:签到,1:参加活动,2:参加实习,3:参加兼职,4:获取证书,5:邀请新用户
     */
    private Integer  businessType;

    /**
     * 积分类型
     */
    private Integer integralType;

    /**
     * 备注
     */
    private String remark;
}
